//
//  PeiZhiBtn.m
//  NBProduct
//
//  Created by ping on 15/11/12.
//  Copyright (c) 2015年 ping. All rights reserved.
//

#import "PeiZhiBtn.h"

@implementation PeiZhiBtn

-(instancetype)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
    if (self) {
        [self initView];
    }
    
    return self;
}



-(void)initView{
    
    self.backgroundColor = [UIColor whiteColor];
    self.titleLabel.font = [UIFont systemFontOfSize:13];
    self.layer.cornerRadius = 3;
    self.layer.borderWidth = 1;
    [self setTitleColor:MaintextColor forState:UIControlStateNormal];
    
}
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
